package com.lin.spring.config.resolve.test;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class SourceHelper {

    public static void main(String[] args) throws InterruptedException {
        ConfigurableApplicationContext ctx = SpringApplication.run(SourceHelper.class);
        ctx.getBean(ConfigA.class).printSth();
        System.out.println("----------------------");
        Thread.currentThread().join();
    }

}
